import React from 'react'
import styles from './TrCarousel.module.css'
import { Image, Carousel } from 'antd'

import carouselImage1 from '../../../../assets/images/carousel_1.jpg'
import carouselImage2 from '../../../../assets/images/carousel_2.jpg'
import carouselImage3 from '../../../../assets/images/carousel_3.jpg'

export const TrCarousel: React.FC = () => {
  return (
    <Carousel autoplay className={styles.slider}>
      <Image height={450} src={carouselImage1} />
      <Image height={450} src={carouselImage2} />
      <Image height={450} src={carouselImage3} />
    </Carousel>
  )
}
